#ifndef _VN_DAMAGE_COMPONENT_H_
#define _VN_DAMAGE_COMPONENT_H_

#include "IComponent.h"

class DamageComponent : public IComponent
{
public:
	DamageComponent(int p_damage);
	virtual ~DamageComponent(void);

	virtual const std::string getType() { return "DamageComponent"; }
	virtual const std::string getFamilyType() { return "DamageComponent"; }

	virtual void init(){}
	virtual void update(const GameTime& p_gameTime){}

	void setDamage(int p_damage) { m_damage = p_damage; }
	int getDamage() const { return m_damage; }

protected:
	int m_damage;

};

#endif // _VN_DAMAGE_COMPONENT_H_